﻿package  {		import com.display.slides.AbstractSlide	import com.events.SlideEvent;		import flash.display.MovieClip;	import flash.events.MouseEvent;	import flash.events.Event;			public class Slide_04 extends AbstractSlide	{				public function Slide_04() 		{						this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);				}		private function onAddedToStage(e:Event):void		{			this.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);						var b:MovieClip = this["mButton"];				b.addEventListener(MouseEvent.CLICK, onButtonClick, false, 0, true);				b.buttonMode = true;		}				private function onButtonClick(e:MouseEvent):void		{			dispatchEvent(new SlideEvent(SlideEvent.NEW_SLIDE, 5));		}			}	}